﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="SedesView.aspx.cs" Inherits="Recursos.WebForm3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <h2>Crear Sede</h2>
    <p ></p>
<%--    <asp:ValidationSummary ForeColor="red"  ID="ValidationSummary1" runat=server 
HeaderText="Revise los siguientes errores:" />

            <asp:CompareValidator ID="cv" runat="server" ControlToValidate="TextBoxCapacidad" Type="Integer"
   Operator="DataTypeCheck" ErrorMessage="La capacidad debe ser un número entero. " />
   --%>
   
   <table style="margin-left: 100px; height: 307px; width: 818px;">
        <tr>
            <td>
                <asp:Label ID="LabelNombre" runat="server" Text="Nombre"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBoxNombre" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="LabelProvincia" runat="server" Text="Provincia"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownListProvincia" runat="server" Height="20px" 
                    Width="127px" AutoPostBack="True" 
                    onselectedindexchanged="DropDownListProvincia_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            
           </tr>
        <tr>
            <td>
                <asp:Label ID="LabelCanton" runat="server" Text="Cantón"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownListCanton" runat="server" Height="16px" 
                    Width="127px" AutoPostBack="True" 
                    onselectedindexchanged="DropDownListCanton_SelectedIndexChanged"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="LabelDistrito" runat="server" Text="Distrito"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownListDistrito" runat="server" Height="21px" 
                    Width="128px" AutoPostBack="True" 
                    onselectedindexchanged="DropDownListDistrito_SelectedIndexChanged"></asp:DropDownList>
            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="LabelDireccion" runat="server" Text="Dirección Exacta"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBoxDireccion" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>

        <tr>
            

            <td></td>
            <td>
                <asp:Button runat="server" ID="ButtonCrear" Text="Crear" onclick="ButtonCrear_Click" 
                     />
            </td>
        </tr>
        <asp:TextBox ID="TextBox1" Visible="False" runat="server"></asp:TextBox>

    </table>
  
</asp:Content>
